package com.acme.homemonitoring;

/**
 * a singleton siren class
 * doesn't do much that's why it's dummy
 */
public class DummySiren implements Siren
{
	private static Siren instance = new DummySiren();
	
	private DummySiren() {}
	
	public static Siren getInstance()
	{
		return instance;
	}
	
	/* (non-Javadoc)
	 * @see com.acme.homemonitoring.Siren#soundSiren()
	 */
	@Override
	public void soundSiren()
	{
		System.out.println("!! dummy siren turned on for 10 seconds !! Aw wait this is a dummy siren it's not working sorry!! ");
	}

	/* (non-Javadoc)
	 * @see com.acme.homemonitoring.Siren#report()
	 */
	@Override
	public void report()
	{
		System.out.println("DummySiren");
	}
}
